namespace KingerRobot.MexicoSailunMES.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// MES_HOLD_REQ
    /// </summary>
    public DbSet<POMesHoldReq> MesHoldReqs { get; set; }
}

/// <summary>
/// MES_HOLD_REQ
/// 表[MES_HOLD_REQ]
/// </summary>
[Table("mes_hold_req")]
public class POMesHoldReq
{
    /// <summary>
    /// GT条码号 
    /// 主键[MES_HOLD_REQ.BCD_NO)]
    /// </summary>
    [Key]
    [Column("bcd_no")]
    public string BcdNo { get; set; }
    /// <summary>
    /// 错误编码  ’00’  Normal, ‘01~99’ Er
    /// [MES_HOLD_REQ.ERR_CD)]
    /// </summary>
    [Column("err_cd")]
    public string ErrCd { get; set; }
    /// <summary>
    /// 错误描述
    /// [MES_HOLD_REQ.ERR_DESC)]
    /// </summary>
    [Column("err_desc")]
    public string ErrDesc { get; set; }
    /// <summary>
    /// ‘0’ : MES 写入(insert), ‘1’ : 胎胚
    /// [MES_HOLD_REQ.RCV_FLAG)]
    /// </summary>
    [Column("rcv_flag")]
    public string RcvFlag { get; set; }
    /// <summary>
    /// 变更日期
    /// [MES_HOLD_REQ.UPD_DT)]
    /// </summary>
    [Column("upd_dt")]
    public DateTime? UpdDt { get; set; }
    /// <summary>
    /// 创建日期  数据库自己生成
    /// [MES_HOLD_REQ.REG_DT)]
    /// </summary>
    [Column("reg_dt")]
    public DateTime? RegDt { get; set; }
}
